package com.lagou.io;

import java.io.InputStream;

/**
 * @ClassName: Resources
 * @Description: 读取资源文件
 * @Date: 2021/2/9 14:37
 * @Create by: shuiren
 */
public class Resources {

    public static InputStream getResourceAsStrean(String path){
        InputStream resourceAsStream = Resources.class.getClassLoader().getResourceAsStream(path);
        return resourceAsStream;
    }

}
